//
//  Beverage.h
//  Charles
//
//  Created by Leo on 2017/6/13.
//  Copyright © 2017年 charles. All rights reserved.
//

#import <Foundation/Foundation.h>

#pragma mark - 饮料协议

@protocol Beverage <NSObject>

@optional
- (double)cost;

- (NSString *)getName;

@end

#pragma mark - 饮料种类

@interface Espresso : NSObject<Beverage>

@end

@interface Decaf : NSObject<Beverage>

@end

@interface DarkRoast : NSObject<Beverage>

@end

@interface HouseBlend : NSObject<Beverage>

@end
